package com.crois.barrier.common.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Hou Ze Yu
 * @description ip和weight
 * @date 2020/7/23
 */
@Data
public class IpAndWeight implements Serializable {

    private static final long serialVersionUID = 2405172041950251807L;

    private Integer id;
    /**
     * 路由id
     */
    private Integer apiRouteId;
    /**
     * ip
     */
    private String ip;
    /**
     * 权重
     */
    private int weight = 1;
    /**
     * 版本
     */
    private String version;
}
